package com.ruoyi.pos.domain;

public class PosDingdanItemVO {
    private Integer id;
    private String name;
    private String price;
    private Integer goodsCount;
    private String productImg;
    private Integer shangpinId;
    public PosDingdanItemVO(PosShangpin posShangpin, PosDingdanItem posDingdanItem){
        name = posShangpin.getName();
        price = posShangpin.getPrice();
        goodsCount = posDingdanItem.getGoodsCount();
        productImg = posShangpin.getProductImg();
        id = posDingdanItem.getId();
        shangpinId = posDingdanItem.getShangpinId();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public Integer getGoodsCount() {
        return goodsCount;
    }

    public void setGoodsCount(Integer goodsCount) {
        this.goodsCount = goodsCount;
    }

    public String getProductImg() {
        return productImg;
    }

    public void setProductImg(String productImg) {
        this.productImg = productImg;
    }

    public Integer getShangpinId() {
        return shangpinId;
    }

    public void setShangpinId(Integer shangpinId) {
        this.shangpinId = shangpinId;
    }
}
